package com.text.day2_2;

public class Tools {
    private String name;
    private String type;
    private double attack;
    private String jc;

    public Tools() {
    }

    public Tools(String name, String type, double attack, String jc) {
        this.name = name;
        this.type = type;
        this.attack = attack;
        this.jc = jc;
    }

    public Tools(String name, String type, double attack) {
        this.name = name;
        this.type = type;
        this.attack = attack;
    }

    public Tools(String jc) {
        this.jc = jc;
    }

    public String getJc() {
        return jc;
    }

    public void setJc(String jc) {
        this.jc = jc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getAttack() {
        return attack;
    }

    public void setAttack(double attack) {
        this.attack = attack;
    }

    @Override
    public String toString() {
        return "Tools{" +
                "name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", attack=" + attack +
                ", jc='" + jc + '\'' +
                '}';
    }
}
